package com.zr.sparesubclass.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class AddPlantVo {
    @NotBlank(message = "法人名称不能为空")
    private String legalPersonName;
    @NotBlank(message = "法人编码不能为空")
    private String legalPersonCode;
    @NotBlank(message = "工厂编码不能为空")
    private String legalPlantCode;
    @NotBlank(message = "工厂描述不能为空")
    private String legalPlantDec;
    private Boolean enabled;
    private int version;
}
